package com.huanyang.home.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@Component
@FeignClient("ace-cloud-sku")
public interface SkuFeignService {

    /**
     * 接口里面的方法要跟调用的接口的映射路径一致，且方法名和参数也要一致
     */
    @GetMapping("/hello")
    public String test();
}
